//
//  GoodDetailViewController.h
//  PPDL
//
//  Created by 王洋 on 2019/8/30.
//  Copyright © 2019 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


typedef NS_ENUM(unsigned long, PP_GOODDETAIL_SECTION) {
    //第一分组
    PP_GOODDETAIL_SECTION_FIRST          = 0,
    //第二分组
    PP_GOODDETAIL_SECTION_SECOND         = 1,
    //第三分组
    PP_GOODDETAIL_SECTION_THIRD          = 2,
    //第四分组
    PP_GOODDETAIL_SECTION_FOURTH         = 3,

};

typedef NS_ENUM(unsigned long, PP_GOODDETAIL_SECTION_ONE) {
    //banner
    PP_GOODDETAIL_SECTION_ONE_BANNER          = 0,
    //倒计时
    PP_GOODDETAIL_SECTION_ONE_COUNTDOWN       = 1,
    //商品信息
    PP_GOODDETAIL_SECTION_ONE_GOODSINFO       = 2,
    //商品价格
    PP_GOODDETAIL_SECTION_ONE_GOODSPRICE      = 3,
    //商品保障
    PP_GOODDETAIL_SECTION_ONE_GOODSGUARANTEE  = 4,
};

typedef NS_ENUM(unsigned long, PP_GOODDETAIL_SECTION_TWO) {
    //banner
    PP_GOODDETAIL_SECTION_TWO_RECORD          = 0,
    //倒计时
    PP_GOODDETAIL_SECTION_TWO_RECORDLIST
};

typedef NS_ENUM(unsigned long, PP_GOODDETAIL_SECTION_THREE) {
    //其他电商
    PP_GOODDETAIL_SECTION_THREE_OTHERSTORE      = 0,
    //品牌
    PP_GOODDETAIL_SECTION_THREE_BRAND           = 1,
    //供应商
    PP_GOODDETAIL_SECTION_THREE_SUPPLIER        = 2,
    //竞拍规则
    PP_GOODDETAIL_SECTION_THREE_AUCTIONRULE     = 3,
};

typedef NS_ENUM(unsigned long, PP_GOODDETAIL_SECTION_FOUR) {
    //图文头
    PP_GOODDETAIL_SECTION_FOUR_HTMLHEAD      = 0,
    //图
    PP_GOODDETAIL_SECTION_FOUR_HTMLPAGE      = 1

};

@interface GoodDetailViewController : UIViewController

//是否从订单详情进入
@property (nonatomic, assign) BOOL isFromOrder;

//此type决定商品详情的展示类型
@property (nonatomic, assign) PPGoodDetailType type;


@property (nonatomic, copy)   NSString *goodsID;

@end

NS_ASSUME_NONNULL_END
